package org.sixtynine.stock.service;

/**
 * @author Thilan
 *
 */

import java.util.Date;
import java.util.List;

import org.sixtynine.stock.dto.GridPramDTO;
import org.sixtynine.stock.dto.Page;
import org.sixtynine.stock.entity.DailyShareData;

/**
 * @author Thilan
 * 
 */
public interface DailyShareDataService {

	DailyShareData findById(int id);

	void saveDailyShareData(DailyShareData dailyShareData);

	void deleteDailyShareData(int id);

	List<DailyShareData> findDailyShareData(int id);

	List<DailyShareData> searchDailyShareData(int companyId, Date fromDate,
			Date toDate, String orderBy, String orderByName);

	Page<DailyShareData> searchDailyShareData(int companyId, Date fromDate,
			Date toDate, String orderBy, String orderByName,
			GridPramDTO gridPramDTO);

	public void deleteDailyShareData(int companyId, Date fromDate, Date toDate);
}
